﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="pay_for.aspx.cs" Inherits="Bus_proj.website.pay_for" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="../Styles/textbox.css" rel="stylesheet" type="text/css" />
    <link href="../Styles/Stylebuttoncss.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .style1
        {
            width: 97%;
        }
        .style2
        {
            width: 222px;
        }
        .style3
        {
            width: 289px;
        }
        .style4
        {
            width: 289px;
            height: 28px;
        }
        .style5
        {
            height: 28px;
        }
    </style>
</head>
<body>
<center>
    <form id="form1" runat="server">
    <asp:Panel ID="Panel2" runat="server" >
        <asp:Label ID="Label11" runat="server" Text="ระบบชำระเงิน" Font-Size="XX-Large"></asp:Label>
    </asp:Panel>
    <div>
    
        <table class="el03">
            <tr>
                <td align="right" class="style2">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td align="right" class="style2">
                    <asp:Label ID="Label1" runat="server" Text="รหัสชำระเงิน :"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="TextBox1" runat="server" Height="23px" Width="191px" 
                        CssClass="textbox"></asp:TextBox>
                    <asp:Button ID="Button1" runat="server" Height="34px" onclick="Button1_Click" 
                        Text="ตกลง" Width="93px" CssClass="classname" />
                </td>
            </tr>
            <tr>
                <td align="right" class="style2">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
        <asp:Panel ID="Panel1" runat="server" Visible="False" CssClass="el03" 
            Width="518px">
            <table class="style1">
                <tr>
                    <td align="right" class="style3">
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td align="right" class="style3">
                        <asp:Label ID="Label2" runat="server" Text="รหัสชำระเงิน :"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBox2" runat="server" Width="155px" CssClass="textbox" 
                            ReadOnly="True"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="style3">
                        <asp:Label ID="Label7" runat="server" Text="จำนวน :"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBox7" runat="server" CssClass="textbox" ReadOnly="True"></asp:TextBox>
                        <asp:Label ID="Label8" runat="server" Text="ที่"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="style3">
                        <asp:Label ID="Label3" runat="server" Text="เส้นทาง :"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBox3" runat="server" Width="189px" CssClass="textbox" 
                            ReadOnly="True"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="style4">
                        <asp:Label ID="Label10" runat="server" Text="จุดลง :"></asp:Label>
                    </td>
                    <td class="style5">
                        <asp:TextBox ID="TextBox8" runat="server" CssClass="textbox" Height="24px" 
                            ReadOnly="True"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="style3">
                        <asp:Label ID="Label4" runat="server" Text="วัน-เวลาเดินทาง :"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBox4" runat="server" Height="24px" Width="149px" 
                            CssClass="textbox" ReadOnly="True"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="style3">
                        <asp:Label ID="Label6" runat="server" Text="ค่าโดยสาร :"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBox6" runat="server" CssClass="textbox" ReadOnly="True"></asp:TextBox>
                        <asp:Label ID="Label9" runat="server" Text="บาท"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="style3">
                        &nbsp;</td>
                    <td>
                        <asp:Button ID="Button2" runat="server" 
                            OnClientClick="return confirm('ยืนยันการทำรายการ')" Height="39px" onclick="Button2_Click" 
                            Text="ยืนยัน" Width="93px" CssClass="classname" />
                        <asp:Button ID="Button3" runat="server" 
                            OnClientClick="return confirm('ยืนยันการยกเลิกรายการ')" Height="39px" onclick="Button3_Click" 
                            Text="ยกเลิก" Width="100px" CssClass="classname" />
                    </td>
                </tr>
            </table>
        </asp:Panel>
    </div>
    </form>
    </center>
</body>
</html>
